Light's Associativity Test
   HOME

TheInfoList



OR:

In
mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, Light's associativity test is a procedure invented by F. W. Light for testing whether a
binary operation In mathematics, a binary operation or dyadic operation is a rule for combining two elements (called operands) to produce another element. More formally, a binary operation is an operation of arity two. More specifically, an internal binary op ...
defined in a
finite set In mathematics, particularly set theory, a finite set is a set that has a finite number of elements. Informally, a finite set is a set which one could in principle count and finish counting. For example, :\ is a finite set with five elements. Th ...
by a Cayley multiplication table is
associative In mathematics, the associative property is a property of some binary operations, which means that rearranging the parentheses in an expression will not change the result. In propositional logic, associativity is a valid rule of replacement f ...
. The naive procedure for verification of the associativity of a binary operation specified by a Cayley table, which compares the two products that can be formed from each triple of elements, is cumbersome. Light's associativity test simplifies the task in some instances (although it does not improve the worst-case runtime of the naive algorithm, namely \mathcal \left( n^ \right) for sets of size n).


Description of the procedure

Let a binary operation ' · ' be defined in a finite set ''A'' by a Cayley table. Choosing some element ''a'' in ''A'', two new binary operations are defined in ''A'' as follows: :''x'' \star ''y'' = ''x'' · ( ''a'' · ''y'' ) :''x'' \circ ''y'' = ( ''x'' · ''a'' ) · ''y'' The Cayley tables of these operations are constructed and compared. If the tables coincide then ''x'' · ( ''a'' · ''y'' ) = ( ''x'' · ''a'' ) · ''y'' for all ''x'' and ''y''. This is repeated for every element of the set ''A''. The example below illustrates a further simplification in the procedure for the construction and comparison of the Cayley tables of the operations ' \star ' and ' \circ '. It is not even necessary to construct the Cayley tables of ' \star ' and ' \circ ' for ''all'' elements of ''A''. It is enough to compare Cayley tables of ' \star ' and ' \circ ' corresponding to the elements in a proper generating subset of ''A''. When the operation ' . ' is
commutative In mathematics, a binary operation is commutative if changing the order of the operands does not change the result. It is a fundamental property of many binary operations, and many mathematical proofs depend on it. Most familiar as the name o ...
, then x \star y = y \circ x. As a result, only part of each Cayley table must be computed, because x \star x = x \circ x always holds, and x \star y = x \circ y implies y \star x = y \circ x. When there is an
identity element In mathematics, an identity element, or neutral element, of a binary operation operating on a set is an element of the set that leaves unchanged every element of the set when the operation is applied. This concept is used in algebraic structures su ...
e, it does not need to be included in the Cayley tables because x \star y = x \circ y always holds if at least one of x and y are equal to e.


Example

Consider the binary operation ' · ' in the set ''A'' = defined by the following Cayley table (Table 1): The set is a generating set for the set ''A'' under the binary operation defined by the above table, for, ''a'' = ''e'' · ''e'', ''b'' = ''c'' · ''c'', ''d'' = ''c'' · ''e''. Thus it is enough to verify that the binary operations ' \star ' and ' \circ ' corresponding to ''c'' coincide and also that the binary operations ' \star ' and ' \circ ' corresponding to ''e'' coincide. To verify that the binary operations ' \star ' and ' \circ ' corresponding to ''c'' coincide, choose the row in Table 1 corresponding to the element ''c'' : This row is copied as the header row of a new table (Table 3): Under the header ''a'' copy the corresponding column in Table 1, under the header ''b'' copy the corresponding column in Table 1, etc., and construct Table 4. The column headers of Table 4 are now deleted to get Table 5: The Cayley table of the binary operation ' \star ' corresponding to the element ''c'' is given by Table 6. Next choose the ''c'' column of Table 1: Copy this column to the index column to get Table 8: Against the index entry ''a'' in Table 8 copy the corresponding row in Table 1, against the index entry ''b'' copy the corresponding row in Table 1, etc., and construct Table 9. The index entries in the first column of Table 9 are now deleted to get Table 10: The Cayley table of the binary operation ' \circ ' corresponding to the element ''c'' is given by Table 11. One can verify that the entries in the various cells in Table 6 agrees with the entries in the corresponding cells of Table 11. This shows that ''x'' · ( ''c'' · ''y'' ) = ( ''x'' · ''c'' ) · ''y'' for all ''x'' and ''y'' in ''A''. If there were some discrepancy then it would not be true that ''x'' · ( ''c'' · ''y'' ) = ( ''x'' · ''c'' ) · ''y'' for all ''x'' and ''y'' in ''A''. That ''x'' · ( ''e'' · ''y'' ) = ( ''x'' · ''e'' ) · ''y'' for all ''x'' and ''y'' in ''A'' can be verified in a similar way by constructing the following tables (Table 12 and Table 13):


A further simplification

It is not necessary to construct the Cayley tables (Table 6 and table 11) of the binary operations ' \star ' and ' \circ '. It is enough to copy the column corresponding to the header ''c'' in Table 1 to the index column in Table 5 and form the following table (Table 14) and verify that the ''a'' -row of Table 14 is identical with the ''a'' -row of Table 1, the ''b'' -row of Table 14 is identical with the ''b'' -row of Table 1, etc. This is to be repeated ''mutatis mutandis'' for all the elements of the generating set of ''A''.


Program

Computer software Software is a set of computer programs and associated documentation and data. This is in contrast to hardware, from which the system is built and which actually performs the work. At the lowest programming level, executable code consists ...
can be written to carry out Light's associativity test. Kehayopulu and Argyris have developed such a program for
Mathematica Wolfram Mathematica is a software system with built-in libraries for several areas of technical computing that allow machine learning, statistics, symbolic computation, data manipulation, network analysis, time series analysis, NLP, optimizat ...
.


Extension

Light's associativity test can be extended to test associativity in a more general context. Let ''T'' = be a
magma Magma () is the molten or semi-molten natural material from which all igneous rocks are formed. Magma is found beneath the surface of the Earth, and evidence of magmatism has also been discovered on other terrestrial planets and some natural sa ...
in which the operation is denoted by
juxtaposition Juxtaposition is an act or instance of placing two elements close together or side by side. This is often done in order to compare/contrast the two, to show similarities or differences, etc. Speech Juxtaposition in literary terms is the showing ...
. Let ''X'' = be a set. Let there be a mapping from the
Cartesian product In mathematics, specifically set theory, the Cartesian product of two sets ''A'' and ''B'', denoted ''A''×''B'', is the set of all ordered pairs where ''a'' is in ''A'' and ''b'' is in ''B''. In terms of set-builder notation, that is : A\ti ...
''T'' × ''X'' to ''X'' denoted by (''t'', ''x'') ''tx'' and let it be required to test whether this map has the property :(''st'')''x'' = ''s''(''tx'') for all ''s'', ''t'' in ''T'' and all ''x'' in ''X''. A generalization of Light's associativity test can be applied to verify whether the above property holds or not. In mathematical notations, the generalization runs as follows: For each ''t'' in ''T'', let ''L''(''t'') be the ''m'' × ''n'' matrix of elements of ''X'' whose ''i'' - th row is :( (''t''''i''''t'')''x''1, (''t''''i''''t'')''x''2, \ldots , (''t''''i''''t'')''x''n ) for ''i'' = 1, \ldots, ''m'' and let ''R''(''t'') be the ''m'' × ''n'' matrix of elements of ''X'', the elements of whose ''j'' - th column are :( ''t''1(''tx''''j''), ''t''2(''tx''''j''), \ldots , ''t''''m''(''tx''j) ) for ''j'' = 1, \ldots, ''n''. According to the generalised test (due to Bednarek), that the property to be verified holds if and only if ''L''(''t'') = ''R''(''t'') for all ''t'' in ''T''. When ''X'' = ''T'', Bednarek's test reduces to Light's test.


More advanced algorithms

There is a randomized algorithm by Rajagopalan and Schulman to test associativity in time proportional to the input size. (The method also works for testing certain other identities.) Specifically, the runtime is O(n^2 \log \frac1\delta) for an n\times n table and error probability \delta. The algorithm can be modified to produce a triple \langle a,b,c\rangle for which (ab)c\ne a(bc), if there is one, in time O(n^2 \log n \cdot\log \frac1\delta).


Notes


References

* {{Cite book , last1=Clifford , first1=Alfred Hoblitzelle , author1-link=Alfred H. Clifford , last2=Preston , first2=Gordon Bamford , author2-link=Gordon Preston , title=The algebraic theory of semigroups. Vol. I , publisher=
American Mathematical Society The American Mathematical Society (AMS) is an association of professional mathematicians dedicated to the interests of mathematical research and scholarship, and serves the national and international community through its publications, meetings, ...
, location=Providence, R.I. , series=Mathematical Surveys, No. 7 , isbn=978-0-8218-0272-4 , mr=0132791 , year=1961 (pp. 7–9) Abstract algebra Semigroup theory Binary operations Elementary algebra